<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html">
	<body>
		<ui:composition template="/template/templateSemMenu.xhtml">		
		
		  <ui:define name="title">
		   Login
		  </ui:define>
		
		  <ui:define name="body">
		    <h:form id="form">
		    	<h:outputText value="Efetuar Login."/>
		    	<h:panelGrid columns="1">
			    	<h:panelGrid columns="2">
				    	<h:outputLabel value="Login:" for="login" />
				    	<h:inputText id="login" value="#{login.login}"/>
			    	</h:panelGrid>
			    	<h:panelGrid columns="2">
				    	<h:outputLabel value="Senha:" for="senha" />
				    	<h:inputSecret id="senha" value="#{login.senha}"/>
			    	</h:panelGrid>
			    	<h:commandButton action="#{login.efetuarLogin}" value="entrar" />
		    	</h:panelGrid>
		    </h:form>
		  </ui:define>
		  
		</ui:composition>
	</body>
</html>